net/http.Transport.idleConn (field)
13 uses
net/http (current package)
transport.go#L98: idleConn map[connectMethodKey][]*persistConn // most recently used at end
transport.go#L782: m := t.idleConn
transport.go#L783: t.idleConn = nil
transport.go#L984: if t.idleConn == nil {
transport.go#L985: t.idleConn = make(map[connectMethodKey][]*persistConn)
transport.go#L987: idles := t.idleConn[key]
transport.go#L996: t.idleConn[key] = append(idles, pconn)
transport.go#L1047: if list, ok := t.idleConn[w.key]; ok {
transport.go#L1087: t.idleConn[w.key] = list
transport.go#L1089: delete(t.idleConn, w.key)
transport.go#L1121: pconns := t.idleConn[key]
transport.go#L1128: delete(t.idleConn, key)
transport.go#L1139: t.idleConn[key] = pconns[:len(pconns)-1]
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |